package org.kirhgoff.mathbot;

import java.awt.Dimension;

import javax.swing.JFrame;

import org.aicontest.PlanetWars;

public class BotPlayerFrame extends JFrame {
	public BotPlayerFrame() {
		PlanetWars pw = new PlanetWars (BotTest.fixture("fixtures/small.txt"));
		final MathModule module = new MathModule (Properties.SIMPLE_GENE);
		final World world = new World (pw, module);
		
		getContentPane().add(new WorldPanel (world));
	}
	
	public static void main(String[] args) {
		BotPlayerFrame botPlayer = new BotPlayerFrame ();
		botPlayer.setPreferredSize(new Dimension (1200, 1200));
		botPlayer.pack();
		botPlayer.setVisible(true);
	}
}
